package com.atguigu.dga.governance.service.impl;

import com.atguigu.dga.governance.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MainAssessServiceImpl implements MainAssessService {


    @Autowired
    GovernanceAssessDetailService governanceAssessDetailService;

    @Autowired
    GovernanceAssessTableService governanceAssessTableServiceImpl;

    @Autowired
    GovernanceAssessTecOwnerService governanceAssessTecOwnerService;

    @Autowired
    GovernanceAssessGlobalService governanceAssessGlobalService;

    public void  mainAssess(String assessDate){
        governanceAssessDetailService.mainAssess(assessDate);
        governanceAssessTableServiceImpl.calcAssessTable(assessDate);
        governanceAssessTecOwnerService.calcAssessOwner(assessDate);
        governanceAssessGlobalService.calcGlobal(assessDate);

    }
}
